#include<iostream.h>
#include<conio.h>
#include<stdio.h>

 void main()
{
	int diameter;
   const float phi=3.14;
   float luas;

 printf("Program Menghitung Luas Lingkaran\n");
 printf("Diameter = ");
 scanf("%i",&diameter);
 printf("Luas = %f x %d x %d\n",phi,diameter/2,diameter/2);
 luas=phi*(diameter/2)*(diameter/2);
 printf("Luas = %2.2f",luas);

 getch();

}
